import request from '@/utils/request'

export function getTableData(params) {
  return request({
    url: 'getTableData',
    method: 'get',
    params
  })
}

export function ceui(params) {
  return request({
    url: 'api/students',
    method: 'get',
    params
  })
}

export function ceuiAdd(data) {
  return request({
    url: 'api/students/new',
    method: 'post',
    data:data,
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
